﻿@model Yeap.Models.LoginModel

@{
    ViewBag.Title = "Yeap Login Page";
}

@using(Html.BeginForm("Login", "Account", FormMethod.Post)){

    @Html.ValidationSummary(false, "There are some errors");
    
    <div class="Row">
        @Html.LabelFor(m => m.Login) 
        @Html.TextBoxFor(m => m.Login)
    </div>
    
    <div class="Row">
        @Html.LabelFor(m => m.Password) 
        @Html.PasswordFor(m => m.Password)
    </div>

    @Html.HiddenFor(m => m.ReturnUrl);
    
    <div style="text-align:right; margin-right:100px;">
        <input type="image" src="../../Content/images/ButtonLogIn.png" value="Login" />
    </div>
}

